﻿package Message.Game
{
    import Framework.MQ.*;
    import Framework.Serialize.*;

    public class STaskRoutineTaskOtherPlayersInfoList extends IMessageBase
    {
        public var otherPlayersInfo:Array;
        public var help:int;
        public var star:int;
        public const _type:int = 16014;
        public static var _regist:STaskRoutineTaskOtherPlayersInfoList = new STaskRoutineTaskOtherPlayersInfoList(true);

        public function STaskRoutineTaskOtherPlayersInfoList(param1:Boolean = false)
        {
            if (param1)
            {
                MessageManager.instance().regist(this);
            }
            return;
        }// end function

        override public function getType() : int
        {
            return this._type;
        }// end function

        override public function clone() : IMessageBase
        {
            return new STaskRoutineTaskOtherPlayersInfoList();
        }// end function

        override public function __write(param1:SerializeStream) : void
        {
            SeqTaskRoutineTaskOtherPlayersInfoHelper.write(param1, this.otherPlayersInfo);
            param1.writeInt(this.help);
            param1.writeInt(this.star);
            return;
        }// end function

        override public function __read(param1:SerializeStream) : void
        {
            this.otherPlayersInfo = SeqTaskRoutineTaskOtherPlayersInfoHelper.read(param1);
            this.help = param1.readInt();
            this.star = param1.readInt();
            return;
        }// end function

    }
}
